package com.ypbase.cloud.tags.api;

import java.util.List;

import com.alibaba.dubbo.rpc.BaseDubboException;
import com.alibaba.dubbo.rpc.BaseDubboServerException;
import com.ypbase.cloud.tags.api.dto.TagCategoryDto;

public interface ITagCategoryApi {
	
	/**
	 * 查询tagCategory
	 * @param companyId
	 * @return
	 * @throws BaseDubboException,BaseDubboException
	 */
	public List<TagCategoryDto> getTagCategoryList(Long companyId) throws BaseDubboServerException,BaseDubboException;
	
	
	/**
	 * 添加TagCategory
	 * @param tagCategoryDto
	 * @return
	 * @throws BaseDubboException,BaseDubboException
	 */
	public void addTagCategory(TagCategoryDto tagDto) throws BaseDubboServerException,BaseDubboException;
	
	
	/**
	 * 删除
	 * @param companyId
	 * @throws BaseDubboServerException
	 * @throws BaseDubboException
	 */
	public void deleteTagCategory(Long companyId) throws BaseDubboServerException,BaseDubboException;

}
